#ifndef KITMAINWINDOW_H
#define KITMAINWINDOW_H

#include <QMainWindow>
#include "bezier.h"

extern float map_width;
extern float map_height;
extern float map_width_pixel;
extern float map_height_pixel;
extern double translate_dx;
extern double translate_dy;
extern double translate_dangle;
extern Bezier *bezier_path;
extern int bezier_num;
extern int bezier_cnt;

namespace Ui {
class KitMainWindow;
}

class KitMainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit KitMainWindow(QWidget *parent = nullptr);
    ~KitMainWindow();

private slots:

    void on_Button_bezier_num_clicked();

    void on_Button_load_path_clicked();

    void on_Button_add_bezier_clicked();

    void on_Button_create_path_clicked();

    void on_Button_create_file_clicked();

    void on_Button_clear_clicked();

private:
    Ui::KitMainWindow *ui;
    QImage *img;
};

#endif // KITMAINWINDOW_H
